//
//  ReadBaseCell.m
//  Otaku
//
//  Created by lanou3g on 16/5/16.
//  Copyright © 2016年 Liuwx. All rights reserved.
//

#import "ReadBaseCell.h"
#import "TextModel.h"
#import "ImageModel.h"
#import "MullImageModel.h"
@implementation ReadBaseCell

- (void)setModel:(ReadBaseModel *)model {
    
}

//声明方法
+ (instancetype)cellWithTableView:(UITableView *)tableView Model:(ReadBaseModel *)model IndexPath:(NSIndexPath *)indexPath {
    NSString *modelName = NSStringFromClass([model class]);
    ReadBaseCell *baseCell = [tableView dequeueReusableCellWithIdentifier:modelName forIndexPath:indexPath];
    // 设置属性
    [baseCell setModel:model];
    return baseCell;
 
}

+ (CGFloat)cellHeight {
    return 0;
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
